package com.beiyou.orderingsystemonweb.shop.dao;

import com.beiyou.orderingsystemonweb.shop.domain.Shop;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ShopDao {
    //通过用户的位置分页查询店铺和菜品信息，
    List<Map> queryMapByUserPos(String lng, String lat, Integer begin, Integer size);
    Shop queryShopBySid(String sid);
    int queryShopCountBySid(String sid);
    Map queryLastLoginKey(String sid);
    void saveShopLoginHistory(String id,String uid,String key,String pos,String time);
    List<Map> queryHotFood4Shop(String sid);
    Map queryShopInfoBySid(String sid);
    int queryInterestShopBySid(String sid,String uid);
}
